Termination w.r.t. Q of the following Term Rewriting System could not be shown:

Q restricted rewrite system:
The TRS R consists of the following rules:

f3(true, x, y) -> f3(gt2(x, y), trunc1(x), s1(y))
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
f3(true, x0, x1)
gt2(s1(x0), 0)



QTRS
  ↳ DependencyPairsProof

Q restricted rewrite system:
The TRS R consists of the following rules:

f3(true, x, y) -> f3(gt2(x, y), trunc1(x), s1(y))
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
f3(true, x0, x1)
gt2(s1(x0), 0)


Using Dependency Pairs [1,13] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

TRUNC1(s1(s1(x))) -> TRUNC1(x)
F3(true, x, y) -> GT2(x, y)
F3(true, x, y) -> F3(gt2(x, y), trunc1(x), s1(y))
GT2(s1(u), s1(v)) -> GT2(u, v)
F3(true, x, y) -> TRUNC1(x)

The TRS R consists of the following rules:

f3(true, x, y) -> f3(gt2(x, y), trunc1(x), s1(y))
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
f3(true, x0, x1)
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
QDP
      ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

TRUNC1(s1(s1(x))) -> TRUNC1(x)
F3(true, x, y) -> GT2(x, y)
F3(true, x, y) -> F3(gt2(x, y), trunc1(x), s1(y))
GT2(s1(u), s1(v)) -> GT2(u, v)
F3(true, x, y) -> TRUNC1(x)

The TRS R consists of the following rules:

f3(true, x, y) -> f3(gt2(x, y), trunc1(x), s1(y))
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
f3(true, x0, x1)
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 3 SCCs with 2 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
QDP
            ↳ UsableRulesProof
          ↳ QDP
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

GT2(s1(u), s1(v)) -> GT2(u, v)

The TRS R consists of the following rules:

f3(true, x, y) -> f3(gt2(x, y), trunc1(x), s1(y))
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
f3(true, x0, x1)
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof
          ↳ QDP
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

GT2(s1(u), s1(v)) -> GT2(u, v)

R is empty.
The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
f3(true, x0, x1)
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
f3(true, x0, x1)
gt2(s1(x0), 0)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP
                    ↳ QDPSizeChangeProof
          ↳ QDP
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

GT2(s1(u), s1(v)) -> GT2(u, v)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [16] together with the size-change analysis [27] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
QDP
            ↳ UsableRulesProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

TRUNC1(s1(s1(x))) -> TRUNC1(x)

The TRS R consists of the following rules:

f3(true, x, y) -> f3(gt2(x, y), trunc1(x), s1(y))
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
f3(true, x0, x1)
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

TRUNC1(s1(s1(x))) -> TRUNC1(x)

R is empty.
The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
f3(true, x0, x1)
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
f3(true, x0, x1)
gt2(s1(x0), 0)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP
                    ↳ QDPSizeChangeProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

TRUNC1(s1(s1(x))) -> TRUNC1(x)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [16] together with the size-change analysis [27] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

F3(true, x, y) -> F3(gt2(x, y), trunc1(x), s1(y))

The TRS R consists of the following rules:

f3(true, x, y) -> f3(gt2(x, y), trunc1(x), s1(y))
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
f3(true, x0, x1)
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

F3(true, x, y) -> F3(gt2(x, y), trunc1(x), s1(y))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
f3(true, x0, x1)
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

f3(true, x0, x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP
                    ↳ Narrowing
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

F3(true, x, y) -> F3(gt2(x, y), trunc1(x), s1(y))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
By narrowing [13] the rule F3(true, x, y) -> F3(gt2(x, y), trunc1(x), s1(y)) at position [0] we obtained the following new rules:

F3(true, s1(x0), s1(x1)) -> F3(gt2(x0, x1), trunc1(s1(x0)), s1(s1(x1)))
F3(true, s1(x0), 0) -> F3(true, trunc1(s1(x0)), s1(0))
F3(true, 0, x0) -> F3(false, trunc1(0), s1(x0))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
QDP
                        ↳ DependencyGraphProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

F3(true, s1(x0), 0) -> F3(true, trunc1(s1(x0)), s1(0))
F3(true, s1(x0), s1(x1)) -> F3(gt2(x0, x1), trunc1(s1(x0)), s1(s1(x1)))
F3(true, 0, x0) -> F3(false, trunc1(0), s1(x0))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 1 SCC with 2 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
QDP
                            ↳ Narrowing
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

F3(true, s1(x0), s1(x1)) -> F3(gt2(x0, x1), trunc1(s1(x0)), s1(s1(x1)))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
By narrowing [13] the rule F3(true, s1(x0), s1(x1)) -> F3(gt2(x0, x1), trunc1(s1(x0)), s1(s1(x1))) at position [1] we obtained the following new rules:

F3(true, s1(0), s1(y1)) -> F3(gt2(0, y1), 0, s1(s1(y1)))
F3(true, s1(s1(x0)), s1(y1)) -> F3(gt2(s1(x0), y1), s1(s1(trunc1(x0))), s1(s1(y1)))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Narrowing
QDP
                                ↳ DependencyGraphProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

F3(true, s1(0), s1(y1)) -> F3(gt2(0, y1), 0, s1(s1(y1)))
F3(true, s1(s1(x0)), s1(y1)) -> F3(gt2(s1(x0), y1), s1(s1(trunc1(x0))), s1(s1(y1)))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Narrowing
                              ↳ QDP
                                ↳ DependencyGraphProof
QDP
                                    ↳ Instantiation
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

F3(true, s1(s1(x0)), s1(y1)) -> F3(gt2(s1(x0), y1), s1(s1(trunc1(x0))), s1(s1(y1)))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
By instantiating [13] the rule F3(true, s1(s1(x0)), s1(y1)) -> F3(gt2(s1(x0), y1), s1(s1(trunc1(x0))), s1(s1(y1))) we obtained the following new rules:

F3(true, s1(s1(y_1)), s1(s1(z1))) -> F3(gt2(s1(y_1), s1(z1)), s1(s1(trunc1(y_1))), s1(s1(s1(z1))))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Narrowing
                              ↳ QDP
                                ↳ DependencyGraphProof
                                  ↳ QDP
                                    ↳ Instantiation
QDP
                                        ↳ Rewriting
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

F3(true, s1(s1(y_1)), s1(s1(z1))) -> F3(gt2(s1(y_1), s1(z1)), s1(s1(trunc1(y_1))), s1(s1(s1(z1))))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
By rewriting [13] the rule F3(true, s1(s1(y_1)), s1(s1(z1))) -> F3(gt2(s1(y_1), s1(z1)), s1(s1(trunc1(y_1))), s1(s1(s1(z1)))) at position [0] we obtained the following new rules:

F3(true, s1(s1(y_1)), s1(s1(z1))) -> F3(gt2(y_1, z1), s1(s1(trunc1(y_1))), s1(s1(s1(z1))))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Narrowing
                              ↳ QDP
                                ↳ DependencyGraphProof
                                  ↳ QDP
                                    ↳ Instantiation
                                      ↳ QDP
                                        ↳ Rewriting
QDP
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

F3(true, s1(s1(y_1)), s1(s1(z1))) -> F3(gt2(y_1, z1), s1(s1(trunc1(y_1))), s1(s1(s1(z1))))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof

Q DP problem:
The TRS P consists of the following rules:

F3(true, x, y) -> F3(gt2(x, y), trunc1(x), s1(y))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
f3(true, x0, x1)
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

f3(true, x0, x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP

Q DP problem:
The TRS P consists of the following rules:

F3(true, x, y) -> F3(gt2(x, y), trunc1(x), s1(y))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
trunc1(0) -> 0
trunc1(s1(0)) -> 0
trunc1(s1(s1(x))) -> s1(s1(trunc1(x)))

The set Q consists of the following terms:

gt2(0, x0)
trunc1(s1(s1(x0)))
gt2(s1(x0), s1(x1))
trunc1(0)
trunc1(s1(0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.